package com.study.demo.concurrent;

/**
 * Created by ahdkk on 2016/1/12.
 */
public class MainTest {
    public static void main(String[] args) {
        int[] numbers = new int[] { 1, 2, 3, 4, 5, 6, 7, 8, 10, 11 };
        CalcArrayTotal calc = new CalcArrayTotal();
        Long sum = calc.sum(numbers);
        System.out.println(sum);
        calc.close();
    }
}
